diff --git a/addtoany.module b/addtoany.module
index 8200599..7357efa 100644
--- a/addtoany.module
+++ b/addtoany.module
@@ -218,6 +218,8 @@ function addtoany_create_data($url = NULL, $title = NULL, $config = NULL) {
   }
 
   $additional_html = rtrim($config->get('additional_html'));
+  $additional_html = \Drupal::service('twig')->renderInline( $additional_html );
+
   $universal_button_placement = $config->get('universal_button_placement');
 
   $is_front = \Drupal::service('path.matcher')->isFrontPage();
